var express = require('express');
var router = express.Router();
var expressValidator = require('express-validator');

router.use(expressValidator());
router.use('/', require('./admin/home'));
router.use('/verify', require('./admin/verify'));
router.use('/login', require('./admin/login'));
router.use('/menus', require('./admin/menus'));
router.use('/users', require('./admin/users'));
router.use('/roles', require('./admin/roles'));
router.use('/user_role', require('./admin/user_role'));
router.use('/menu_role', require('./admin/menu_role'));
router.use('/login_log', require('./admin/login_log'));
router.use('/operation_log', require('./admin/operation_log'));

module.exports = router;
